<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo lang('system_author');?></title>
<link rel="stylesheet" type="text/css" href="<?php echo brd_url('css/admin_style.css')?>" />
<link rel="stylesheet" type="text/css" href="<?php echo brd_url('css/common.css')?>" />
<link rel="stylesheet" type="text/css" href="<?php echo brd_url('css/button.css')?>" />
<script type="text/javascript" src="<?php echo brd_url('js/jquery-1.8.1.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/jquery.tipsy.js')?>"></script>
<link rel="stylesheet" href="<?php echo brd_url('kindedit/themes/default/default.css')?>" />
<link rel="stylesheet" href="<?php echo brd_url('kindedit/plugins/code/prettify.css')?>" />
<script charset="utf-8" src="<?php echo brd_url('kindedit/kindeditor.js')?>"></script>
<script charset="utf-8" src="<?php echo brd_url('kindedit/lang/zh_CN.js')?>"></script>
<script charset="utf-8" src="<?php echo brd_url('kindedit/plugins/code/prettify.js')?>"></script>
<script charset="utf-8" src="<?php echo brd_url('formValidator/formValidator-4.1.3.min.js')?>"></script>
<script charset="utf-8" src="<?php echo brd_url('formValidator/formValidatorRegex.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/artDialog/jquery.artDialog.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/artDialog/plugins/iframeTools.source.js')?>"></script>
<link rel="stylesheet" type="text/css" href="<?php echo brd_url('js/artDialog/skins/default.css?4.1.7')?>"/>
<script type="text/javascript" src="<?php echo brd_url('js/system_set.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/common.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/add_product.js')?>"></script>
<script type="text/javascript">
var toggle_url = '<?php echo site_aurl('content_manage/toggle_url');?>';
var ajax_add_cate = '<?php echo site_aurl('content_manage/ajax_add_cate');?>';
var ajax_edit_cate= '<?php echo site_aurl('content_manage/ajax_edit_cate');?>';
var ajax_save_cate= '<?php echo site_aurl('content_manage/ajax_save_cate');?>';
var purview_move_down = '<?php echo site_aurl('Content_manage/purview_down');?>';
var purview_move_up = '<?php echo site_aurl('Content_manage/purview_up');?>';
var myurl = '<?php echo get_url();?>';

KindEditor.ready(function(K) {
	var editor1 = K.create('textarea[name="content1"]', {
		cssPath : '../plugins/code/prettify.css',
		uploadJson : '../php/upload_json.php',
		fileManagerJson : '../php/file_manager_json.php',
		allowFileManager : true,
		afterCreate : function() {
			var self = this;
			K.ctrl(document, 13, function() {
				self.sync();
				K('form[name=example]')[0].submit();
			});
			K.ctrl(self.edit.doc, 13, function() {
				self.sync();
				K('form[name=example]')[0].submit();
			});
		}
	});
	prettyPrint();
});
</script>
<style type="text/css">
.add_product
{
    border-left:1px solid #DFDFDF;
    border-right:1px solid #DFDFDF;
	border-bottom:1px solid #DFDFDF;
    
}
.add_product td
{
	padding:5px;
	border-top: 1px solid #DFDFDF;
	border-collapse: collapse;
}
</style>
</head>
<!--加载头部-->
<?php echo $this->common->submenu();?>
<!--加载左侧-->
<?php echo $this->common->leftmenu();?>
<div class="right">
	<div class="body"> 
	<?php echo $this->common->short_menu();?>
	  <?php echo form_open('',array('class'=>'add_product','id'=>'add_product'));?>
		<table width="100%" height="300px" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="141" align="center" valign="middle" >标题</td>
    <td width="35"><input type="text" class="input_text_350" name="title" id="title"/></td>
    <td width="475"><div id="titleTip" style="width:280px"></div></td>
  </tr>
  <tr>
    <td align="center" valign="middle" >内容</td>
    <td colspan="2"><textarea rows="20" cols="50" name="content1" id="content1"></textarea></td>
  </tr>
  <tr>
    <td align="center" valign="middle" >排序</td>
    <td colspan="2"><input type="text" class="input_text_50" value="99" name="sort"  id="sort"/></td>
  </tr>
  <tr>
    <td align="center" valign="middle" colspan="3">
    <input type="submit" value="提交" class="blue button small"/>
    <input type="button" value="返回" class="blue button small"/>
    </td>
  </tr>
</table>
		<?php echo form_close();?>
   </div>
</div>
</html>
